Microsoft DirectX 8.1 (C++)

IAMParse::Flush

The Flush method clears the current file data to allow for a more rapid switch to a new file.

Syntax

HRESULT Flush(void);

Parameters

This method takes no parameters.

Return Values

Returns an HRESULT value that depends on the implementation of the interface. HRESULT can include one of the following standard constants, or other values not listed.

Return code Description
E_FAIL Failure.
E_INVALIDARG Argument is invalid.
E_NOTIMPL Method is not supported.
E_POINTER Null pointer argument.
S_OK Success.

Remarks

Although this method can make transitions much more immediate, it can also make them appear less seamless.

See Also